package com.jkd.service;

import com.jkd.model.pojo.Discipline;
import com.jkd.service.impl.DisciplineServiceImpl;
import org.junit.Test;

import java.util.List;

public class testDisciplineService {
    IDisciplineService iDisciplineService = new DisciplineServiceImpl();
    @Test
    public void selectAll(){
       List<Discipline> list =  iDisciplineService.selectAll();
       list.forEach(e-> System.out.println(e));
    }
    @Test
    public void selectById(){
        Discipline discipline = iDisciplineService.selectById(1);
        System.out.println(discipline);
    }
}
